package Chat_program_Rasmus;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JButton;

public class server_admin_GUI extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					server_admin_GUI frame = new server_admin_GUI();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public server_admin_GUI() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 236, 387);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JButton button_edit = new JButton("Edit Users");
		button_edit.setBounds(12, 12, 200, 44);
		contentPane.add(button_edit);
		
		JButton button_search = new JButton("Search Conversations");
		button_search.setBounds(12, 67, 200, 44);
		contentPane.add(button_search);
		
		JButton button_serverlog = new JButton("Server Log");
		button_serverlog.setBounds(12, 122, 200, 44);
		contentPane.add(button_serverlog);
		
		JButton button_userlog = new JButton("User Log");
		button_userlog.setBounds(12, 177, 200, 44);
		contentPane.add(button_userlog);
		
		JButton button_followChat = new JButton("Follow Chatroom");
		button_followChat.setBounds(12, 234, 200, 44);
		contentPane.add(button_followChat);
		
		JButton button_logout = new JButton("Log Out");
		button_logout.setBounds(12, 290, 200, 44);
		contentPane.add(button_logout);
	}
}
